package com.wx.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Transient;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>Title:      NurseVo. </p>
 * <p>Description 护士信息表 </p>
 * <p>Copyright: Copyright (c) 2016</p>
 * <p>Company:    医百科技有限公司 </p>
 *
 * @author         yangwensheng@100doc.com.cn
 * @since      2021-03-22 10:51:46
 */
@Data
@ApiModel(value = "NurseVo")
public class NurseVo implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 真实姓名
	 */
	@Column(name = "real_name")
	@ApiModelProperty(value = "真实姓名")
	@NotEmpty(message = "姓名不能为空")
	private String realName;


	/**
	 * 电话
	 */
	@Column(name = "phone")
	@ApiModelProperty(value = "手机号")
	@NotEmpty(message = "手机号不能为空")
	private String phone;

	/**
	 * 省份
	 */
	@Column(name = "province_code")
	@ApiModelProperty(value = "省份")
	private String provinceName;
	/**
	 * 城市
	 */
	@Column(name = "city_code")
	@ApiModelProperty(value = "城市")
	private String cityName;
	/**
	 * 区域
	 */
	@Column(name = "area_code")
	@ApiModelProperty(value = "区域")
	private String areaName;

	/**
	 * 经度
	 */
	@ApiModelProperty(value = "经度")
	private BigDecimal longitude;
	/**
	 * 纬度
	 */
	@ApiModelProperty(value = "纬度")
	@NotNull(message = "纬度不能为空")
	private BigDecimal latitude;


	@ApiModelProperty(value = "头像")
	@Transient
	private String headImgUrl;

}
